// 根
import App from './App.vue'
import './style.css'
import './components/ComponentClassStyle.css'
import { createApp } from 'vue'
// Antdv
import 'ant-design-vue/dist/reset.css';
import Antdv from 'ant-design-vue';
import * as Icons from '@ant-design/icons-vue';
// router
// @ts-ignore
import router from '@/router'
// pinia
import { createPinia } from 'pinia'
// icon-pack
import '@icon-park/vue-next/styles/index.css'

const app = createApp(App)

app.use(Antdv)
Object.keys(Icons).forEach(key => {
    // @ts-ignore
    app.component(key, Icons[key]);
});

app.use(router)

app.use(createPinia())

app.mount('#app');
